package mutsumimod.monsters;

import com.megacrit.cardcrawl.core.CardCrawlGame;
import com.megacrit.cardcrawl.core.Settings;
import com.megacrit.cardcrawl.localization.MonsterStrings;
import mutsumimod.monitors.FakeEnemyMonitor;

import static mutsumimod.MutsumiMod.imagePath;
import static mutsumimod.MutsumiMod.makeID;

public class FakeEnemyMonster extends BaseMonster {
    public static final String ID = makeID(FakeEnemyMonster.class.getSimpleName());
    private static final MonsterStrings monsterStrings =
            CardCrawlGame.languagePack.getMonsterStrings(ID);
    public static final String NAME = monsterStrings.NAME;
    public static final String[] MOVES = monsterStrings.MOVES;
    public static final String[] DIALOG = monsterStrings.DIALOG;

    private static final float HB_X = 0F;
    private static final float HB_Y = 0F;
    private static final float HB_W = 160.0F;
    private static final float HB_H = 160.0F;

    private static final String imgPath = imagePath("monsters/mortismonster.png");

    public static final int HP_MIN = 5;
    public static final int HP_MAX = 5;

    public int[] pos;


    public FakeEnemyMonster(float x, float y) {
        super(NAME, ID, HP_MAX, HB_X, HB_Y, HB_W, HB_H, imgPath, x, y);
        this.dialogX = this.hb_x + -50.0F * Settings.scale;
        this.dialogY = this.hb_y + 50.0F * Settings.scale;
    }

    public FakeEnemyMonster(int[] pos){
        this(0,0);
        this.pos=pos;
    }

    @Override
    public void takeTurn() {
        switch (this.nextMove) {
            case 0:
                break;
            default:
                break;
        }
    }

    @Override
    protected void getMove(int num) {
        setMove((byte) 0, Intent.NONE);
    }

    @Override
    public void die() {
        super.die();
        FakeEnemyMonitor.returnPosition(pos[0], pos[1]);
    }
}





